﻿<form class="layui-form layui-form-pane" style="width:100%;">
    <blockquote class="layui-elem-quote quoteBox">
        <div class="layui-inline">
            <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="submitUpload">确定</button>
        </div>
        <div class="layui-inline">
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </blockquote>

    <div class="layui-form-item layui-row layui-col-xs12">
        @*<input class="layui-form-label" type="button" value="教程文件" onclick="CourseFile.click()" style="border:1px solid #ccc;background:#fff">*@
        <label class="layui-form-label">教程文件</label>
        <div class="layui-input-block">
            <input type="text" name="upfile" onclick="CourseFile.click()" readonly class="layui-input upfile" lay-verify="required|upfile" placeholder="请点击教程文件进行选择，支持mp4,xlsx等多种格式">
            <input type="file" id="CourseFile" name="CourseFile" style="display:none" multiple="multiple" onchange="upfile.value=this.value">
        </div>
    </div>
    @*<input class="layui-form-label" type="button" value="封面图片" onclick="CoverImage.click()" style="border:1px solid #ccc;background:#fff">*@
    @*<div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">封面图片</label>
        <div class="layui-input-block">
            <input type="text" name="upCoverfile" onclick="CourseCoverImage.click()" readonly class="layui-input upCoverfile" lay-verify="required|upCoverfile" placeholder="请点击封面图片进行选择，支持jpg,png,jpeg等多种格式">
            <input type="file" id="CourseCoverImage" name="CourseCoverImage" enctype="multipart/form-data" style="display:none" multiple="multiple" onchange="upCoverfile.value=this.value">
        </div>
    </div>*@
</form>

@section Scripts{
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script type="text/javascript" src="~/js/Assets/AssetsUpload.js"></script>
}